package com.wlgc.entity;

import lombok.Data;

@Data
public class RestBean <T>{
    int code;
    String reason;
    T t;

    public RestBean(int code, String reason, T t) {
        this.code = code;
        this.reason = reason;
        this.t = t;
    }

    public RestBean(int code, String reason) {
        this.code = code;
        this.reason = reason;
    }

}
